//
//(C) Copyright 2011 HongKong Airline.,Ltd. 
//
/**
 * systemUserModel
 *
 * 项目名称:代购系统
 *
 * @author Mengxiangliang
 *
 * 功能描述:
 * 
 * 历史版本:2013-01-04 v1.0.0 Mengxiangliang  创建:
 * 
 */
package com.gamutsoft.amb.user.model;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "SYSTEM_USER")
public class SystemUser implements java.io.Serializable {

	/**
	 * 
	 */
	private Long id ;
	/**
	 * 
	 */
	private String username ;
	/**
	 * 
	 */
	private String email ;
	/**
	 * 
	 */
	private String password ;
	/**
	 * 
	 */
	private String country ;
	/**
	 * 
	 */
	private String city ;
	/**
	 * 
	 */
	private String hometown ;
	/**
	 * 
	 */
	private String truename ;
	/**
	 * 
	 */
	private String sex ;
	/**
	 * 
	 */
	private String birthday ;
	/**
	 * 
	 */
	private String phone ;
	/**
	 * 
	 */
	private String homelinkperson ;
	/**
	 * 
	 */
	private String homelinkphone ;
	/**
	 * 
	 */
	private String personImg ;
	/**
	 * 
	 */
	private String status ;
	
	private String createTime;

/** default constructor */
	public SystemUser() {
	}

	/** minimal constructor */
   public SystemUser(Long id) {
             this.id = id;
                                                                                          	
 } 
	

    /**
	 * 获取
	 * @return
	 */
    @Id
	@GeneratedValue(strategy = GenerationType.AUTO)
	@Column(name = "id", unique = true, nullable = false, scale = 0)
	public Long getId() {
		return this.id;
	}
	
	/**
	 * 设置
	 * @param id
	 */	
	public void setId(Long id) {
		this.id = id;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "userName", length = 100)
	public String getUsername() {
		return username;
	}
	
	/**
	 * 设置
	 * @param username
	 */	
	public void setUsername(String username) {
		this.username = username;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "eMail", length = 120)
	public String getEmail() {
		return email;
	}
	
	/**
	 * 设置
	 * @param email
	 */	
	public void setEmail(String email) {
		this.email = email;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "password", length = 100)
	public String getPassword() {
		return password;
	}
	
	/**
	 * 设置
	 * @param password
	 */	
	public void setPassword(String password) {
		this.password = password;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "country", length = 100)
	public String getCountry() {
		return country;
	}
	
	/**
	 * 设置
	 * @param country
	 */	
	public void setCountry(String country) {
		this.country = country;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "city", length = 100)
	public String getCity() {
		return city;
	}
	
	/**
	 * 设置
	 * @param city
	 */	
	public void setCity(String city) {
		this.city = city;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "hometown", length = 100)
	public String getHometown() {
		return hometown;
	}
	
	/**
	 * 设置
	 * @param hometown
	 */	
	public void setHometown(String hometown) {
		this.hometown = hometown;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "trueName", length = 100)
	public String getTruename() {
		return truename;
	}
	
	/**
	 * 设置
	 * @param truename
	 */	
	public void setTruename(String truename) {
		this.truename = truename;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "sex", length = 1)
	public String getSex() {
		return sex;
	}
	
	/**
	 * 设置
	 * @param sex
	 */	
	public void setSex(String sex) {
		this.sex = sex;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "birthday", length = 10)
	public String getBirthday() {
		return birthday;
	}
	
	/**
	 * 设置
	 * @param birthday
	 */	
	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "phone", length = 50)
	public String getPhone() {
		return phone;
	}
	
	/**
	 * 设置
	 * @param phone
	 */	
	public void setPhone(String phone) {
		this.phone = phone;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "homeLinkPerson", length = 100)
	public String getHomelinkperson() {
		return homelinkperson;
	}
	
	/**
	 * 设置
	 * @param homelinkperson
	 */	
	public void setHomelinkperson(String homelinkperson) {
		this.homelinkperson = homelinkperson;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "homeLinkPhone", length = 50)
	public String getHomelinkphone() {
		return homelinkphone;
	}
	
	/**
	 * 设置
	 * @param homelinkphone
	 */	
	public void setHomelinkphone(String homelinkphone) {
		this.homelinkphone = homelinkphone;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "person_Img", length = 500)
	public String getPersonImg() {
		return personImg;
	}
	
	/**
	 * 设置
	 * @param personImg
	 */	
	public void setPersonImg(String personImg) {
		this.personImg = personImg;
	}

    /**
	 * 获取
	 * @return
	 */
	@Column(name = "status", length = 3)
	public String getStatus() {
		return status;
	}
	
	/**
	 * 设置
	 * @param status
	 */	
	public void setStatus(String status) {
		this.status = status;
	}
	 /**
	 * 获取
	 * @return
	 */
	@Column(name = "CREATE_TIME", length = 19)
	public String getCreateTime() {
		return createTime;
	}
	
	/**
	 * 设置
	 * @param status
	 */	
	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
}